import base from '@/app/model'

// 继承总模型
const model = new base;

model.white = (type) => {
  model.getData().white = type
}

model.getWhite = () => {
  return model.getData().white
}

model.getPluginLocal = () => {
  return model.getData().plugin
}

model.setPluginLocal = (type) => {
  model.getData().plugin = type
}

export default model